rsize+1) { var instr1 = instr.substring(1,rsize+1) + instr.substring(epos,inputlength); return instr1; } var rounded = instr.substring(1, rsize+1); return rounded; } function strpos(str, ch) { for (var i = 0; i < str.length; i++) if (str.substring(i, i+1) == ch) return i; return -1; } // End">



Home } Calculators } Atmosphere



JavaScript can help you do atmospheric computations.

Select unit system: English Metric


Inputs

Altitude
Speed
Reference Length



Results

Temperature
Density
Pressure
Speed of Sound
Viscosity
Mach Number
Dynamic Pressure
Critical Cp
Vacuum Cp
Reynolds Number
Laminar Cf
Turbulent Cf

JavaScript Source Code 2002: Calculator: Atmosphere

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!